package com.fa4j.product.stock.model;

import com.fa4j.common.base.model.BaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@Schema(description = "商品库存业务类型")
@RequiredArgsConstructor
public enum StockBizType implements BaseEnum {
    STOCK_SETTING(1, "库存设置"),
    ORDER_LOCK(2, "订单锁定库存"),
    ORDER_OUT(3, "订单出库"),
    ORDER_CANCEL(4, "订单取消"),
    ;
    private final Integer code;
    private final String name;

}


